<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span id="local-6989586621680941525"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">GHC.CmmToAsm.PPC.Cond</span><span> </span><span class="hs-special">(</span><span>
</span><span id="line-2"></span><span>        </span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#Cond"><span class="hs-identifier">Cond</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-3"></span><span>        </span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier">condNegate</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-4"></span><span>        </span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condUnsigned"><span class="hs-identifier">condUnsigned</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-5"></span><span class="hs-special">)</span><span>
</span><span id="line-6"></span><span>
</span><span id="line-7"></span><span class="hs-keyword">where</span><span>
</span><span id="line-8"></span><span>
</span><span id="line-9"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Prelude.html"><span class="hs-identifier">GHC.Prelude</span></a></span><span>
</span><span id="line-10"></span><span>
</span><span id="line-11"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Utils.Panic.html"><span class="hs-identifier">GHC.Utils.Panic</span></a></span><span>
</span><span id="line-12"></span><span>
</span><span id="line-13"></span><span class="hs-keyword">data</span><span> </span><span id="Cond"><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#Cond"><span class="hs-identifier hs-var">Cond</span></a></span></span><span>
</span><span id="line-14"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span id="ALWAYS"><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#ALWAYS"><span class="hs-identifier hs-var">ALWAYS</span></a></span></span><span>
</span><span id="line-15"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span id="EQQ"><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#EQQ"><span class="hs-identifier hs-var">EQQ</span></a></span></span><span>
</span><span id="line-16"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span id="GE"><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#GE"><span class="hs-identifier hs-var">GE</span></a></span></span><span>
</span><span id="line-17"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span id="GEU"><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#GEU"><span class="hs-identifier hs-var">GEU</span></a></span></span><span>
</span><span id="line-18"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span id="GTT"><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#GTT"><span class="hs-identifier hs-var">GTT</span></a></span></span><span>
</span><span id="line-19"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span id="GU"><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#GU"><span class="hs-identifier hs-var">GU</span></a></span></span><span>
</span><span id="line-20"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span id="LE"><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#LE"><span class="hs-identifier hs-var">LE</span></a></span></span><span>
</span><span id="line-21"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span id="LEU"><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#LEU"><span class="hs-identifier hs-var">LEU</span></a></span></span><span>
</span><span id="line-22"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span id="LTT"><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#LTT"><span class="hs-identifier hs-var">LTT</span></a></span></span><span>
</span><span id="line-23"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span id="LU"><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#LU"><span class="hs-identifier hs-var">LU</span></a></span></span><span>
</span><span id="line-24"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span id="NE"><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#NE"><span class="hs-identifier hs-var">NE</span></a></span></span><span>
</span><span id="line-25"></span><span>        </span><span class="hs-keyword">deriving</span><span> </span><span id="local-6989586621680941508"><span id="local-6989586621680941510"><span class="annot"><span class="annottext">Cond -&gt; Cond -&gt; Bool
(Cond -&gt; Cond -&gt; Bool) -&gt; (Cond -&gt; Cond -&gt; Bool) -&gt; Eq Cond
forall a. (a -&gt; a -&gt; Bool) -&gt; (a -&gt; a -&gt; Bool) -&gt; Eq a
/= :: Cond -&gt; Cond -&gt; Bool
$c/= :: Cond -&gt; Cond -&gt; Bool
== :: Cond -&gt; Cond -&gt; Bool
$c== :: Cond -&gt; Cond -&gt; Bool
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Eq</span></span></span></span><span>
</span><span id="line-26"></span><span>
</span><span id="line-27"></span><span>
</span><span id="line-28"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier hs-type">condNegate</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#Cond"><span class="hs-identifier hs-type">Cond</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#Cond"><span class="hs-identifier hs-type">Cond</span></a></span><span>
</span><span id="line-29"></span><span id="condNegate"><span class="annot"><span class="annottext">condNegate :: Cond -&gt; Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier hs-var hs-var">condNegate</span></a></span></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#ALWAYS"><span class="hs-identifier hs-var">ALWAYS</span></a></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Cond
forall a. String -&gt; a
</span><a href="GHC.Utils.Panic.Plain.html#panic"><span class="hs-identifier hs-var">panic</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;condNegate: ALWAYS&quot;</span></span><span>
</span><span id="line-30"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier hs-var">condNegate</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#EQQ"><span class="hs-identifier hs-var">EQQ</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#NE"><span class="hs-identifier hs-var">NE</span></a></span><span>
</span><span id="line-31"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier hs-var">condNegate</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#GE"><span class="hs-identifier hs-var">GE</span></a></span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#LTT"><span class="hs-identifier hs-var">LTT</span></a></span><span>
</span><span id="line-32"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier hs-var">condNegate</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#GEU"><span class="hs-identifier hs-var">GEU</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#LU"><span class="hs-identifier hs-var">LU</span></a></span><span>
</span><span id="line-33"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier hs-var">condNegate</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#GTT"><span class="hs-identifier hs-var">GTT</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#LE"><span class="hs-identifier hs-var">LE</span></a></span><span>
</span><span id="line-34"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier hs-var">condNegate</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#GU"><span class="hs-identifier hs-var">GU</span></a></span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#LEU"><span class="hs-identifier hs-var">LEU</span></a></span><span>
</span><span id="line-35"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier hs-var">condNegate</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#LE"><span class="hs-identifier hs-var">LE</span></a></span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#GTT"><span class="hs-identifier hs-var">GTT</span></a></span><span>
</span><span id="line-36"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier hs-var">condNegate</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#LEU"><span class="hs-identifier hs-var">LEU</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#GU"><span class="hs-identifier hs-var">GU</span></a></span><span>
</span><span id="line-37"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier hs-var">condNegate</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#LTT"><span class="hs-identifier hs-var">LTT</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#GE"><span class="hs-identifier hs-var">GE</span></a></span><span>
</span><span id="line-38"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier hs-var">condNegate</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#LU"><span class="hs-identifier hs-var">LU</span></a></span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#GEU"><span class="hs-identifier hs-var">GEU</span></a></span><span>
</span><span id="line-39"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condNegate"><span class="hs-identifier hs-var">condNegate</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#NE"><span class="hs-identifier hs-var">NE</span></a></span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#EQQ"><span class="hs-identifier hs-var">EQQ</span></a></span><span>
</span><span id="line-40"></span><span>
</span><span id="line-41"></span><span class="hs-comment">-- Condition utils</span><span>
</span><span id="line-42"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condUnsigned"><span class="hs-identifier hs-type">condUnsigned</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#Cond"><span class="hs-identifier hs-type">Cond</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span>
</span><span id="line-43"></span><span id="condUnsigned"><span class="annot"><span class="annottext">condUnsigned :: Cond -&gt; Bool
</span><a href="GHC.CmmToAsm.PPC.Cond.html#condUnsigned"><span class="hs-identifier hs-var hs-var">condUnsigned</span></a></span></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#GU"><span class="hs-identifier hs-var">GU</span></a></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span>
</span><span id="line-44"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condUnsigned"><span class="hs-identifier hs-var">condUnsigned</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#LU"><span class="hs-identifier hs-var">LU</span></a></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span>
</span><span id="line-45"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condUnsigned"><span class="hs-identifier hs-var">condUnsigned</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#GEU"><span class="hs-identifier hs-var">GEU</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span>
</span><span id="line-46"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condUnsigned"><span class="hs-identifier hs-var">condUnsigned</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><a href="GHC.CmmToAsm.PPC.Cond.html#LEU"><span class="hs-identifier hs-var">LEU</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span>
</span><span id="line-47"></span><span class="annot"><a href="GHC.CmmToAsm.PPC.Cond.html#condUnsigned"><span class="hs-identifier hs-var">condUnsigned</span></a></span><span> </span><span class="annot"><span class="annottext">Cond
</span><span class="hs-identifier">_</span></span><span>   </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">False</span></span><span>
</span><span id="line-48"></span></pre></body></html>